import uiautomator2 as u2
import re

# 连接设备
device = u2.connect_wifi("http://192.168.89.73")

print(device.info)

print(device.device_info)

